<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::detail::SeamFinder Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d2/daf/namespacecv_1_1detail.html">detail</a></li><li class="navelem"><a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html">SeamFinder</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="../../db/d7c/classcv_1_1detail_1_1SeamFinder-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::detail::SeamFinder Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="../../d1/d46/group__stitching.html">Images stitching</a> » <a class="el" href="../../d9/d24/group__stitching__seam.html">Seam Estimation</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>Base class for a seam estimator.  
 <a href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#details">More...</a></p>
<p><code>#include &lt;opencv2/stitching/detail/seam_finders.hpp&gt;</code></p>
<div class="dynheader">
Inheritance diagram for cv::detail::SeamFinder:</div>
<div class="dyncontent">
 <div class="center">
  <img alt="" src="../../d7/d09/classcv_1_1detail_1_1SeamFinder.png" usemap="#cv::detail::SeamFinder_map"/>
  <map id="cv::detail::SeamFinder_map" name="cv::detail::SeamFinder_map">
<area alt="cv::detail::DpSeamFinder" coords="0,56,190,80" href="../../d0/dd5/classcv_1_1detail_1_1DpSeamFinder.html" shape="rect"/>
<area alt="cv::detail::GraphCutSeamFinder" coords="200,56,390,80" href="../../db/dda/classcv_1_1detail_1_1GraphCutSeamFinder.html" shape="rect" title="Minimum graph cut-based seam estimator. See details in  . "/>
<area alt="cv::detail::NoSeamFinder" coords="400,56,590,80" href="../../d3/da9/classcv_1_1detail_1_1NoSeamFinder.html" shape="rect" title="Stub seam estimator which does nothing. "/>
<area alt="cv::detail::PairwiseSeamFinder" coords="600,56,790,80" href="../../dd/d00/classcv_1_1detail_1_1PairwiseSeamFinder.html" shape="rect" title="Base class for all pairwise seam estimators. "/>
<area alt="cv::detail::VoronoiSeamFinder" coords="600,112,790,136" href="../../db/d24/classcv_1_1detail_1_1VoronoiSeamFinder.html" shape="rect" title="Voronoi diagram-based seam estimator. "/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a696399f01ac6fe1c6109412185224338"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
  <a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#a696399f01ac6fe1c6109412185224338aea728238e9c14a3c576141bf31b41d77">NO</a>, 
<br/>
  <a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#a696399f01ac6fe1c6109412185224338a55b2503305e94168c0b36c4531f288d7">VORONOI_SEAM</a>, 
<br/>
  <a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#a696399f01ac6fe1c6109412185224338a9dd52fcf64f3609ac84cebbef9fc1c9b">DP_SEAM</a>
<br/>
 }</td></tr>
<tr class="separator:a696399f01ac6fe1c6109412185224338"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afa4401d71037fdc37dcf884ff50a5d71"><td align="right" class="memItemLeft" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#afa4401d71037fdc37dcf884ff50a5d71">~SeamFinder</a> ()</td></tr>
<tr class="separator:afa4401d71037fdc37dcf884ff50a5d71"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abaf8facb8e4b77cffcc9085997833989"><td align="right" class="memItemLeft" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#abaf8facb8e4b77cffcc9085997833989">find</a> (const std::vector&lt; <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &gt; &amp;src, const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp;corners, std::vector&lt; <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &gt; &amp;masks)=0</td></tr>
<tr class="memdesc:abaf8facb8e4b77cffcc9085997833989"><td class="mdescLeft"> </td><td class="mdescRight">Estimates seams.  <a href="#abaf8facb8e4b77cffcc9085997833989">More...</a><br/></td></tr>
<tr class="separator:abaf8facb8e4b77cffcc9085997833989"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:acc8f6a3a6f6fe62ca55cdad655aab4b9"><td align="right" class="memItemLeft" valign="top">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html">SeamFinder</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html#acc8f6a3a6f6fe62ca55cdad655aab4b9">createDefault</a> (int type)</td></tr>
<tr class="separator:acc8f6a3a6f6fe62ca55cdad655aab4b9"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Base class for a seam estimator. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a696399f01ac6fe1c6109412185224338"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a696399f01ac6fe1c6109412185224338">◆ </a></span>anonymous enum</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a696399f01ac6fe1c6109412185224338aea728238e9c14a3c576141bf31b41d77"></a>NO </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a696399f01ac6fe1c6109412185224338a55b2503305e94168c0b36c4531f288d7"></a>VORONOI_SEAM </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="a696399f01ac6fe1c6109412185224338a9dd52fcf64f3609ac84cebbef9fc1c9b"></a>DP_SEAM </td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="afa4401d71037fdc37dcf884ff50a5d71"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa4401d71037fdc37dcf884ff50a5d71">◆ </a></span>~SeamFinder()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual cv::detail::SeamFinder::~SeamFinder </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acc8f6a3a6f6fe62ca55cdad655aab4b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc8f6a3a6f6fe62ca55cdad655aab4b9">◆ </a></span>createDefault()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../d7/d09/classcv_1_1detail_1_1SeamFinder.html">SeamFinder</a>&gt; cv::detail::SeamFinder::createDefault </td>
          <td>(</td>
          <td class="paramtype">int </td>
          <td class="paramname"><em>type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.detail.SeamFinder_createDefault(</td><td class="paramname">type</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="abaf8facb8e4b77cffcc9085997833989"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abaf8facb8e4b77cffcc9085997833989">◆ </a></span>find()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void cv::detail::SeamFinder::find </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &gt; &amp; </td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1e83eafb2d26b3c93f09e8338bcab192">Point</a> &gt; &amp; </td>
          <td class="paramname"><em>corners</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="../../d7/d45/classcv_1_1UMat.html">UMat</a> &gt; &amp; </td>
          <td class="paramname"><em>masks</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>masks</td><td>=</td><td>cv.detail_SeamFinder.find(</td><td class="paramname">src, corners, masks</td><td>)</td></tr></table>
</div><div class="memdoc">
<p>Estimates seams. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">src</td><td>Source images </td></tr>
    <tr><td class="paramname">corners</td><td>Source image top-left corners </td></tr>
    <tr><td class="paramname">masks</td><td>Source image masks to update </td></tr>
  </table>
  </dd>
</dl>
<p>Implemented in <a class="el" href="../../db/dda/classcv_1_1detail_1_1GraphCutSeamFinder.html#aea2fc0865be1d3134b8dde43ae3e9dd4">cv::detail::GraphCutSeamFinder</a>, <a class="el" href="../../d0/dd5/classcv_1_1detail_1_1DpSeamFinder.html#a7914624907986f7a94dd424209a8a609">cv::detail::DpSeamFinder</a>, <a class="el" href="../../db/d24/classcv_1_1detail_1_1VoronoiSeamFinder.html#a779eced4775e0a2af9e7b7283b0f70f9">cv::detail::VoronoiSeamFinder</a>, <a class="el" href="../../dd/d00/classcv_1_1detail_1_1PairwiseSeamFinder.html#a8f7dd0036f534991ec6d02a86dc509a4">cv::detail::PairwiseSeamFinder</a>, and <a class="el" href="../../d3/da9/classcv_1_1detail_1_1NoSeamFinder.html#ad51c7e7563d047c8217d051570518b85">cv::detail::NoSeamFinder</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/stitching/detail/<a class="el" href="../../d1/d74/seam__finders_8hpp.html">seam_finders.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:46 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
